package com.woniuxy.dr_mall.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;
/**
 * <p>
 * 
 * </p>
 *
 * @author 张哲轩
 * @since 2021-08-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonIgnoreProperties("handler")
public class DrManager implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    private String account;

    private String password;

    @TableField("errorCount")
    private Integer errorCount;

    private String status;
    @TableField(exist = false)
    private List<DrPerm>perms;
    @TableField(exist = false)
    private List<DrMenu>menus;

}
